package com.tmc.platform.ctrip.util;

import javax.xml.rpc.ServiceException;

import org.tempuri.ConfirmRebookAmountServiceLocator;
import org.tempuri.ConfirmRebookAmountServiceSoapStub;
import org.tempuri.IssueBillInfoLocator;
import org.tempuri.IssueBillInfoSoapStub;
import org.tempuri.ModifyExchangeListLocator;
import org.tempuri.ModifyExchangeListSoapStub;
import org.tempuri.OpenIssueOrderListLocator;
import org.tempuri.OpenIssueOrderListSoapStub;
import org.tempuri.RefundConfirmLocator;
import org.tempuri.RefundConfirmSoapStub;
import org.tempuri.RefundWaitConfirmListLocator;
import org.tempuri.RefundWaitConfirmListSoapStub;
import org.tempuri.SearchExchangeListLocator;
import org.tempuri.SearchExchangeListSoapStub;
import org.tempuri.SearchIssueBillLocator;
import org.tempuri.SearchIssueBillSoapStub;
import org.tempuri.SearchModifyOrderInfoLocator;
import org.tempuri.SearchModifyOrderInfoSoapStub;

public class GetStubUtil {
	
	public static OpenIssueOrderListSoapStub getOpenIssueOrderListSoapStub() throws ServiceException{
		OpenIssueOrderListLocator locator = new OpenIssueOrderListLocator();
		return (OpenIssueOrderListSoapStub)locator.getOpenIssueOrderListSoap();
	}
	
	public static IssueBillInfoSoapStub getIssueBillInfoSoapStub() throws ServiceException{
		IssueBillInfoLocator locator = new IssueBillInfoLocator();
		return (IssueBillInfoSoapStub)locator.getIssueBillInfoSoap();
	}
	
	public static SearchModifyOrderInfoSoapStub getSearchModifyOrderInfoSoapStub() throws ServiceException{
		SearchModifyOrderInfoLocator locator = new SearchModifyOrderInfoLocator();
		return (SearchModifyOrderInfoSoapStub)locator.getSearchModifyOrderInfoSoap();
	}
	
	public static RefundWaitConfirmListSoapStub getRefundWaitConfirmListSoapStub() throws ServiceException{
		RefundWaitConfirmListLocator locator = new RefundWaitConfirmListLocator();
		return (RefundWaitConfirmListSoapStub)locator.getRefundWaitConfirmListSoap();
	}

	public static RefundConfirmSoapStub getRefundConfirmSoapStub() throws ServiceException{
		RefundConfirmLocator locator = new RefundConfirmLocator();
		return (RefundConfirmSoapStub)locator.getRefundConfirmSoap();
	}
	
	public static SearchExchangeListSoapStub getSearchExchangeListSoapStub() throws ServiceException{
		SearchExchangeListLocator locator = new SearchExchangeListLocator();
		return (SearchExchangeListSoapStub)locator.getSearchExchangeListSoap();
	}
	
	public static ModifyExchangeListSoapStub getModifyExchangeListSoapStub() throws ServiceException{
		ModifyExchangeListLocator locator = new ModifyExchangeListLocator();
		return (ModifyExchangeListSoapStub)locator.getModifyExchangeListSoap();
	}
	
	public static ConfirmRebookAmountServiceSoapStub getConfirmRebookAmountServiceSoapStub() throws ServiceException{
		ConfirmRebookAmountServiceLocator locator = new ConfirmRebookAmountServiceLocator();
		return (ConfirmRebookAmountServiceSoapStub)locator.getConfirmRebookAmountServiceSoap();
	}
	
	public static SearchIssueBillSoapStub getSearchIssueBillSoapStub() throws ServiceException{
		SearchIssueBillLocator locator = new SearchIssueBillLocator();
		return (SearchIssueBillSoapStub)locator.getSearchIssueBillSoap();
	}
}
